home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93c.txt / 000073_icon-group-sender _Mon Oct 18 15:10:50 1993.msg < prev    next >
Internet Message Format  |  1994-02-02  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 20 Oct 1993 07:42:56 MST
  2. Date: 18 Oct 93 15:10:50 GMT
  3. From: agate!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!NewsWatcher!user@ucbvax.Berkeley.EDU  (Radford Walker)
  4. Organization: U S WEST Advanced Technologies
  5. Subject: SNOBOL4
  6. Message-Id: <rwalker-181093090330@130.13.18.177>
  7. Sender: icon-group-request@cs.arizona.edu
  8. To: icon-group@cs.arizona.edu
  9. Status: R
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11.  
  12. Since there appears to be no discussion dedicated to SNOBOL4
  13. I was wondering if anyone here might be able to help.
  14.  
  15. I have a program that has a table using strings as the indexing
  16. element.  After the complete table is built, I work through another
  17. file looking for matches in the table.  It works great but is
  18. taking more memory than I want it to.  Is there some way to
  19. free a single table element once I am finished with it?  Is
  20. there a way to clear the entire table?
  21.  
  22. I thought that   
  23.                 TABLE<index> = NULL
  24.  
  25. would free the memory during the next garbage collection.
  26.  
  27. I also thought that
  28.     
  29.                C = TABLE()
  30.  
  31. would clear the entire table "C" and begin it fresh.  
  32.  
  33. Does anyone know for certain?
  34.  
  35.  
  36. |---------------------------------------------------------------------|
  37. |These are own opinions not that of my company or the echo moderator  |
  38. |Any relation to the truth is pure coincidence. Spelling! What's
  39. that?|                                             
  40. |           Radford Walker - rwalker@atqm.advtech.uswest.com          |
  41. |         OS/2 - because 32 bits are terrible things to waste.        |    
  42.     
  43. |^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^|
  44.